<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="/resources/scaffold/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysCompanyNewsBean.id}"/>
		<f:event type="preRenderView" listener="#{sysCompanyNewsBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Company News"/>

	<ui:define name="header">
		Sys Company News
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Company News
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsComNewsNo" value="Com News No:"/>
			<h:outputText id="sysCompanyNewsBeanSysCompanyNewsComNewsNo" value="#{sysCompanyNewsBean.sysCompanyNews.comNewsNo}"/>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsHrEmp" value="Hr Emp:"/>
			<h:link id="sysCompanyNewsBeanSysCompanyNewsHrEmp" outcome="/hrEmp/view" value="#{sysCompanyNewsBean.sysCompanyNews.hrEmp}">
				<f:param name="id" value="#{sysCompanyNewsBean.sysCompanyNews.hrEmp.empNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsSysCompany" value="Sys Company:"/>
			<h:link id="sysCompanyNewsBeanSysCompanyNewsSysCompany" outcome="/sysCompany/view" value="#{sysCompanyNewsBean.sysCompanyNews.sysCompany}">
				<f:param name="id" value="#{sysCompanyNewsBean.sysCompanyNews.sysCompany.comNo}"/>
			</h:link>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsComNewsDtm" value="Com News Dtm:"/>
			<h:outputText id="sysCompanyNewsBeanSysCompanyNewsComNewsDtm" value="#{sysCompanyNewsBean.sysCompanyNews.comNewsDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsComNewsCreatedDtm" value="Com News Created Dtm:"/>
			<h:outputText id="sysCompanyNewsBeanSysCompanyNewsComNewsCreatedDtm" value="#{sysCompanyNewsBean.sysCompanyNews.comNewsCreatedDtm}">
				<f:convertDateTime pattern="MMM d, yyyy hh:mm:ss a" type="both"/>
			</h:outputText>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsComNewsHeader" value="Com News Header:"/>
			<h:outputText id="sysCompanyNewsBeanSysCompanyNewsComNewsHeader" value="#{sysCompanyNewsBean.sysCompanyNews.comNewsHeader}"/>
			<h:outputText/>
			<h:outputLabel for="sysCompanyNewsBeanSysCompanyNewsComNewsDetail" value="Com News Detail:"/>
			<h:outputText id="sysCompanyNewsBeanSysCompanyNewsComNewsDetail" value="#{sysCompanyNewsBean.sysCompanyNews.comNewsDetail}"/>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>